package spil;
import java.awt.Color;
import boundaryToMatador.Car;
import boundaryToMatador.Field;
import boundaryToMatador.GUI;
public class Adapter implements iAdapter{
	
	/* (non-Javadoc)
	 * @see spil.iAdapter#create(java.lang.String)
	 */
	@Override
	public void create(String path) {
        GUI.create(path);
    }
	
    /* (non-Javadoc)
	 * @see spil.iAdapter#create(boundaryToMatador.Field[])
	 */
    @Override
	public void create(Field[] fields) {
        GUI.create(fields);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#close()
	 */
    @Override
	public final void close() {
        GUI.close();
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#showMessage(java.lang.String)
	 */
    @Override
	public void showMessage(String msg) {
        GUI.showMessage(msg);
    }
    
    /* (non-Javadoc)
	 * @see spil.iAdapter#getUserString(java.lang.String)
	 */
    @Override
	public String getUserString(String msg) {
        return GUI.getUserString(msg);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#getUserInteger(java.lang.String, int, int)
	 */
    @Override
	public int getUserInteger(String msg, int min, int max) {
        return GUI.getUserInteger(msg, min, max);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#getUserInteger(java.lang.String)
	 */
    @Override
	public int getUserInteger(String msg) {
        return GUI.getUserInteger(msg);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#getUserButtonPressed(java.lang.String, java.lang.String)
	 */
    @Override
	public String getUserButtonPressed(String msg, String... buttons) {
        return GUI.getUserButtonPressed(msg, buttons);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#getUserSelection(java.lang.String, java.lang.String)
	 */
    @Override
	public String getUserSelection(String msg, String... options) {
        return GUI.getUserSelection(msg, options);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#getUserLeftButtonPressed(java.lang.String, java.lang.String, java.lang.String)
	 */
    @Override
	public boolean getUserLeftButtonPressed(String msg, 
        String trueButton, String falseButton) {
        return GUI.getUserLeftButtonPressed(msg, trueButton, falseButton);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#setTitleText(int, java.lang.String)
	 */
    @Override
	public void setTitleText(int fieldNumber, String title) {
        GUI.setTitleText(fieldNumber, title);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#setSubText(int, java.lang.String)
	 */
    @Override
	public void setSubText(int fieldNumber, String subText) {
    	GUI.setSubText(fieldNumber, subText);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#setDescriptionText(int, java.lang.String)
	 */
    @Override
	public void setDescriptionText(int fieldNumber, String description) {
    	GUI.setDescriptionText(fieldNumber, description);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#addPlayer(java.lang.String, int, int, int, int)
	 */
    @Override
	public void addPlayer(String name, int balance, int r, int g, int b) {
    	GUI.addPlayer(name, balance, r, g, b);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#addPlayer(java.lang.String, int, java.awt.Color)
	 */
    @Override
	public void addPlayer(String name, int balance, Color color) {
    	GUI.addPlayer(name, balance, color);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#addPlayer(java.lang.String, int, boundaryToMatador.Car)
	 */
    @Override
	public void addPlayer(String name, int balance, Car car) {
    	GUI.addPlayer(name, balance, car);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#addPlayer(java.lang.String, int)
	 */
    @Override
	public void addPlayer(String name, int balance) {
    	GUI.addPlayer(name, balance);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#setBalance(java.lang.String, int)
	 */
    @Override
	public void setBalance(String name, int newBalance) {
    	GUI.setBalance(name, newBalance);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#setDice(int, int, int, int, int, int, int, int)
	 */
    @Override
	public void setDice(int faceValue1, int rotation1, int x1, int y1,
        int faceValue2, int rotation2, int x2, int y2) {
    	GUI.setDice(faceValue1, rotation1, x1, y1, faceValue2, rotation2, x2, y2);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#setDice(int, int, int, int, int, int)
	 */
    @Override
	public void setDice(int faceValue1, int x1, int y1, int faceValue2,
        int x2, int y2) {
    	GUI.setDice(faceValue1, x1, y1, faceValue2, x2, y2);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#setDice(int, int, int, int)
	 */
    @Override
	public void setDice(int faceValue1, int rotation1, int faceValue2,
        int rotation2) {
    	GUI.setDice(faceValue1, rotation1, faceValue2, rotation2);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#setDice(int, int)
	 */
    @Override
	public void setDice(int faceValue1, int faceValue2) {
    	GUI.setDice(faceValue1, faceValue2);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#setNextChanceCardText(java.lang.String)
	 */
    @Override
	public void setNextChanceCardText(String txt) {
    	GUI.setNextChanceCardText(txt);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#setCar(int, java.lang.String)
	 */
    @Override
	public void setCar(int fieldNumber, String name) {
    	GUI.setCar(fieldNumber, name);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#removeCar(int, java.lang.String)
	 */
    @Override
	public void removeCar(int fieldNumber, String name) {
    	GUI.removeCar(fieldNumber, name);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#removeAllCars(java.lang.String)
	 */
    @Override
	public void removeAllCars(String name) {
    	GUI.removeAllCars(name);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#setOwner(int, java.lang.String)
	 */
    @Override
	public void setOwner(int fieldNumber, String name) {
    	GUI.setOwner(fieldNumber, name);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#removeOwner(int)
	 */
    @Override
	public void removeOwner(int fieldNumber) {
    	GUI.removeOwner(fieldNumber);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#setHouses(int, int)
	 */
    @Override
	public void setHouses(int fieldNumber, int houseCount) {
    	GUI.setHouses(fieldNumber, houseCount);
    }
    /* (non-Javadoc)
	 * @see spil.iAdapter#setHotel(int, boolean)
	 */
    @Override
	public void setHotel(int fieldNumber, boolean hasHotel) {
    	GUI.setHotel(fieldNumber, hasHotel);
    }
}
